package com.codejie.pms.mapper;

import com.codejie.pms.entity.Customer;
import com.codejie.pms.entity.StaffKpi;

import java.util.List;

public interface CustomerMapper {

    void addCustomer(Customer customer);

    void updateCustomer(Customer customer);

    void deleteCustomer(String customerId);

    Customer getCustomer(String customerId);

    void updateCustomerBySelf(Customer customer);

    Customer getCustomerByName(String customerName);

    Customer getCustomer2(String projectId);

    List<Customer> getCustomerList(List<StaffKpi> staffKpis);

    List<Customer> selectCustomerList();
}
